package com.woniu.core.exception.account;

import com.woniu.core.exception.WoniuxyException;

public class AccountException extends WoniuxyException {
    private static final long serialVersionUID = 1L;
    public AccountException(AccountExceptionCode accountExceptionCode) {
        super(accountExceptionCode.getMessage(), accountExceptionCode.getCode());
    }

    public AccountException(String message, Integer code){
        super(message,code);
    }
}
